Notifies the browser that the JavaScript prompt dialog should be closed with the given text as a response.
text